/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bllInterface;

import java.rmi.*;

/**
 *
 * @author salm
 */
public interface BLLAccount extends Remote{
    Account getAccount(String userName, String password) throws RemoteException;
    boolean isAccountExist(String userName) throws RemoteException;
    boolean changePassword(String userName, String oldPas, String newPas) throws RemoteException;
    Account register(String userName, String password) throws RemoteException;
}